<template>
  <transition>
  <!-- 外部组件插入的插槽 -->
    <slot></slot>
  </transition>
</template>

<script>
// detail-banner的图片栏的动画
export default {
  name: 'FadeAnimation'
}
</script>

<style lang="stylus" scoped>
  .v-enter, .v-leave-to
    opacity: 0
  .v-enter-active, .v-leave-active
    transition: opacity .5s
</style>
